#pragma once
#include <QVector3D>
#include <QRect>
#include "ft2build.h"
#include FT_FREETYPE_H
#include FT_OUTLINE_H
#define DOUBLE_TO_16_16(d) ((FT_Fixed)((d) * 65536.0))
#define DOUBLE_FROM_26_6(t) ((double)(t) / 64.0)

class COutline
{
public:
    COutline();
    static void load(QString fontfile, QString text, QList<QVector3D*> *data, QRectF *rect);
};
